package com.ruoyi.room.service.impl;

import com.ruoyi.pojo.TbBuildingRoom;
import com.ruoyi.room.mapper.TbBuildingRoomMapper;
import com.ruoyi.room.service.ITbBuildingRoomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 中间表 服务实现类
 * </p>
 *
 * @author author
 * @since 2024-08-29
 */
@Service
public class TbBuildingRoomServiceImpl extends ServiceImpl<TbBuildingRoomMapper, TbBuildingRoom> implements ITbBuildingRoomService {
@Autowired
TbBuildingRoomMapper tbbBuildingRoomMapper;

    @Override
    public List<Map<String, Object>> findCount(Integer id) {
        return tbbBuildingRoomMapper.findCount(id);
    }

    @Override
    public List<String> findUserId(int id) {
        return tbbBuildingRoomMapper.findUserId(id);
    }
}
